package com.example.meituan.utils;

import com.example.meituan.bean.User;
import com.google.gson.annotations.SerializedName;

public class UserResponse {
    @SerializedName("code")
    private int code;

    @SerializedName("msg")
    private String msg;

    @SerializedName("data")
    private User user; // 嵌套的User类

    // 构造函数和相应的getter方法

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public User getUser() {
        return user;
    }
}
